package com.feisi.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户(公司)实体类
 */
public class Customer implements Serializable {

    private Integer id;//
    private String cu_name;//客户名称
    private String cu_source;//客户来源(促销,搜索引擎,广告等)
    private String cu_phone;//号码
    private String cu_e_mail;//邮箱
    private String cu_industry;//行业
    private String cu_level;//客户级别
    private String cu_address;//地址
    private String cu_next_time;//下次联系时间
    private String cu_creator;//创建人(就是登陆的人)
    private String cu_create_time;//创建时间
    private String cu_comment;//备注
    private User user;//关联用户


    public Customer() {
    }

    public Customer(Integer id, String cu_name, String cu_source, String cu_phone,
                    String cu_e_mail, String cu_industry, String cu_level, String cu_address, String cu_next_time,
                    String cu_creator, String cu_create_time, String cu_comment, User user) {
        this.id = id;
        this.cu_name = cu_name;
        this.cu_source = cu_source;
        this.cu_phone = cu_phone;
        this.cu_e_mail = cu_e_mail;
        this.cu_industry = cu_industry;
        this.cu_level = cu_level;
        this.cu_address = cu_address;
        this.cu_next_time = cu_next_time;
        this.cu_creator = cu_creator;
        this.cu_create_time = cu_create_time;
        this.cu_comment = cu_comment;
        this.user = user;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCu_name() {
        return cu_name;
    }

    public void setCu_name(String cu_name) {
        this.cu_name = cu_name;
    }

    public String getCu_source() {
        return cu_source;
    }

    public void setCu_source(String cu_source) {
        this.cu_source = cu_source;
    }

    public String getCu_phone() {
        return cu_phone;
    }

    public void setCu_phone(String cu_phone) {
        this.cu_phone = cu_phone;
    }

    public String getCu_e_mail() {
        return cu_e_mail;
    }

    public void setCu_e_mail(String cu_e_mail) {
        this.cu_e_mail = cu_e_mail;
    }

    public String getCu_industry() {
        return cu_industry;
    }

    public void setCu_industry(String cu_industry) {
        this.cu_industry = cu_industry;
    }

    public String getCu_level() {
        return cu_level;
    }

    public void setCu_level(String cu_level) {
        this.cu_level = cu_level;
    }

    public String getCu_address() {
        return cu_address;
    }

    public void setCu_address(String cu_address) {
        this.cu_address = cu_address;
    }

    public String getCu_next_time() {
        return cu_next_time;
    }

    public void setCu_next_time(String cu_next_time) {
        this.cu_next_time = cu_next_time;
    }

    public String getCu_creator() {
        return cu_creator;
    }

    public void setCu_creator(String cu_creator) {
        this.cu_creator = cu_creator;
    }

    public String getCu_create_time() {
        return cu_create_time;
    }

    public void setCu_create_time(String cu_create_time) {
        this.cu_create_time = cu_create_time;
    }

    public String getCu_comment() {
        return cu_comment;
    }

    public void setCu_comment(String cu_comment) {
        this.cu_comment = cu_comment;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", cu_name='" + cu_name + '\'' +
                ", cu_source='" + cu_source + '\'' +
                ", cu_phone='" + cu_phone + '\'' +
                ", cu_e_mail='" + cu_e_mail + '\'' +
                ", cu_industry='" + cu_industry + '\'' +
                ", cu_level='" + cu_level + '\'' +
                ", cu_address='" + cu_address + '\'' +
                ", cu_next_time='" + cu_next_time + '\'' +
                ", cu_creator='" + cu_creator + '\'' +
                ", cu_create_time='" + cu_create_time + '\'' +
                ", cu_comment='" + cu_comment + '\'' +
                ", user=" + user +
                '}';
    }
}
